home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / MPW Interfaces & Libraries / CIncludes / DiskInit.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-01-29  |  1.2 KB  |  53 lines  |  [TEXT/MPS ]

  1.  
  2. /************************************************************
  3.  
  4. Created: Friday, September 13, 1991 at 12:26 PM
  5.  DiskInit.h
  6.  C Interface to the Macintosh Libraries
  7.  
  8.  
  9.   Copyright Apple Computer, Inc.  1985-1991
  10.   All rights reserved
  11.  
  12. ************************************************************/
  13.  
  14.  
  15. #ifndef __DISKINIT__
  16. #define __DISKINIT__
  17.  
  18. #ifndef __TYPES__
  19. #include <Types.h>
  20. #endif
  21.  
  22.  
  23. struct HFSDefaults {
  24.  char sigWord[2];    /* signature word*/
  25.  long abSize;        /* allocation block size in bytes*/
  26.  long clpSize;        /* clump size in bytes*/
  27.  long nxFreeFN;        /* next free file number*/
  28.  long btClpSize;    /* B-Tree clump size in bytes*/
  29.  short rsrv1;        /* reserved*/
  30.  short rsrv2;        /* reserved*/
  31.  short rsrv3;        /* reserved*/
  32. };
  33.  
  34. typedef struct HFSDefaults HFSDefaults;
  35.  
  36.  
  37. #ifdef __cplusplus
  38. extern "C" {
  39. #endif
  40. pascal void DILoad(void); 
  41. pascal void DIUnload(void); 
  42. pascal short DIBadMount(Point where,long evtMessage); 
  43. OSErr dibadmount(Point *where,long evtMessage); 
  44. pascal OSErr DIFormat(short drvNum); 
  45. pascal OSErr DIVerify(short drvNum); 
  46. pascal OSErr DIZero(short drvNum,ConstStr255Param volName); 
  47. OSErr dizero(short drvnum,char *volName); 
  48. #ifdef __cplusplus
  49. }
  50. #endif
  51.  
  52. #endif
  53.